package hcn.protocol.ods.newdiagnosis;/**
 * @Auther: Administrator
 * @Date: 2019/4/19 10:24
 * @Description:
 */

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @description: 预结算his请求参数
 * @author: chenJij@bsoft.com.cn
 * @date: 2019/8/23 10:16
 */
@NoArgsConstructor
@Data
@Builder
@AllArgsConstructor
@ToString
public class NewGetPrecalculatedFeeHisResponseBean implements Serializable {

    /**
     * invoiceNumber : 发票号码string
     * paymentBudgetNumber : 预结算标识（每次预结算都唯一的标识） string
     * totalFee : 总金额
     * payAmount : 待支付金额
     * extraFeeDesc : 加收费费用描述
     * displayName : 支付名称：统筹支付,账户支付,公务员账户支付,离退休账户支付,自理金额
     * insuranceType : 医保类别名称 浙江有省医保、市医保、萧山医保、余杭医保
     * feeRecords : [{"feeNo":"收费单据标识","feeTypeCode":"收费单据类型"}]
     * costItems : [{"projectType":"项目类型（西药费、中药费、检验费、检查费、快递费、待煎费分类）","costMerging":"费用归并  string","amount":"金额"}]
     */

    private String invoiceNumber;
    private String paymentBudgetNumber;
    private double totalFee;
    private String extraFeeDesc;
    private String displayName;
    private String insuranceType;
    private double payAmount;
    private List<CostItemsBean> mergingItems;

    @NoArgsConstructor
    @Data
    public static class CostItemsBean {
        /**
         * mergingCode : 费用归并代码
         * mergingName : 费用归并名称
         * mergingSubtotal : 归并小计（原金额）
         */

        private String mergingCode;
        private String mergingName;
        private double mergingSubtotal;
    }
}
